import { request } from "@/utils";

// 请求: 热搜列表
export const getSearchHot = () => request.get('/search/hot')

// 请求: 搜索建议
export const getSearchSuggest = (keywords) => request.get('/search/suggest', { params: { keywords } })

// 请求: 默认搜索关键字
export const getSearch = (params) => request.get(`/search`, { params })